package com.yuyou.fn.portal.service;

import com.yuyou.fn.educational.entity.CourseOrder;
import com.yuyou.fn.portal.entity.OuterCourseClass;
import com.yuyou.fn.portal.entity.OuterCourseOrder;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.portal.vo.OrderCourseClass;
import com.yuyou.fn.portal.vo.OuterCourseOrderVo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * OuterCourseOrder 表数据服务层接口
 *
 */
public interface IOuterCourseOrderService extends ISuperService<OuterCourseOrder,Long> {
    public void payOuterCourseOrder(Long outCourseOrderId, BigDecimal payAmount,Integer payWay, Long userId);
    public List<OrderCourseClass> findOuterCourseOrder(Long userId, int pageNo, int pageSize);

    public List<OrderCourseClass> findOuterCourseOrder(Long userId, int pageNo, int pageSize,Integer chargingStatus);

    public List<OuterCourseOrder> findOuterCourseOrder(Integer chargingStatus, Date date);


    public OrderCourseClass findOuterCourseOrder(Long userId,Long outerCourseOrderId);


    CourseOrder createCourseOrder(Long classId,Long studentId,Long userId);


    OrderCourseClass createOuterCourseOrder(Long classId,String studentIds,Long userId);

    OrderCourseClass createOuterCourseOrder(List<Long> outerShoppingCartIds, Long userId);
}